package services

import (

)

func GetAllMedical_record() (error, []models.Medical_record ,int64) {
	err, Medical_recordData ,total := dao.GetAllMedical_record()
	return err, Medical_recordData, total
}

func DelMedical_record (medical_record int) error {
	err := dao.DelStudent(medical_record)
	return err
}

func UpdateMedical_record(medical_record models.Medical_record) error {
	err := dao.UpdateStudent(medical_record)
	return err
}

func AddMedical_record(medical_record models.Medical_record) error {
	err := dao.AddMedical_record(medical_record)
	return err
}